using System.Collections;

namespace Slaks.DocumentSerialization.TermIdInfo
{
	public class TermIdInfoMap : DictionaryBase
	{
		public TermIdInfoElement this[string key]
		{
			get { return ((TermIdInfoElement) Dictionary[key]); }
			set { Dictionary[key] = value; }
		}

		public ICollection Keys
		{
			get { return (Dictionary.Keys); }
		}

		public ICollection Values
		{
			get { return (Dictionary.Values); }
		}

		public void Add(string key, TermIdInfoElement value)
		{
			Dictionary.Add(key, value);
		}

		public bool Contains(string key)
		{
			return (Dictionary.Contains(key));
		}

		public void Remove(string key)
		{
			Dictionary.Remove(key);
		}

	}
}